<#-- 引入布局指令的命名空间 -->

<#import "../layout/grid-layout.ftl" as defaultLayout>

<#assign breadcrumb>
	<ul class="breadcrumb">
        <li>
            <i class="ace-icon fa fa-home home-icon"></i>
            <a href="#">后台管理</a>
        </li>
        <li class="active">用户管理</li>
    </ul>
</#assign>
<#assign css_own>
<link href="/resource/js/zTree/css/metroStyle/metroStyle.css" rel="stylesheet">
<style>
    #name-error {
        height: 20px
    }
    #grid p {
        /*overflow: hidden;*/
        /*text-overflow: ellipsis;*/
        /*white-space: nowrap;*/
        /*width: 170px;*/
        /*display: inline-block*/
    }
</style>
</#assign>
<#assign script_own>
    <script type="text/html" id="edit-template">
            <#include "template/edit.ftl" >
    </script>
    <script src="/resource/js/zTree/jquery.ztree.all.min.js"></script>
    <script src="/resource/script/web/user/u.index.js"></script>
</#assign>
<@defaultLayout.layout script=script_own css=css_own breadcrumb=breadcrumb>
<div class="row">
    <div class="col-xs-12">
        <div class="row">
            <div class="col-sm-12">
                <div id="sample-table-2_length">
                    <form class="form-horizontal" id="form-search">
                        <table class="table_gray" border="0" style="min-height:60px">
                            <tr>
                                <td class="width-w-80">所属平台:</td>
                                <td class="width-20">
                                    <select class="form-control col-sm-5" name="platformID">

                                    </select>
                                </td>
                                <td class="width-w-80" style="display: none">栏目样式:</td>
                                <td class="width-20" style="display: none">
                                    <select class="form-control col-sm-5" name="rolesID">

                                    </select>
                                </td>
                                <td></td>
                            </tr>
                            <tr>
                                <td class="width-w-80">用户名称:</td>
                                <td class="width-20">
                                    <input type="text" class="form-control col-sm-5" name="userName">
                                </td>
                                <td class="width-w-80">用户状态:</td>
                                <td class="width-20">
                                    <select class="form-control col-sm-5" name="status">

                                    </select>
                                </td>
                                <td></td>

                            </tr>
                        </table>
                    </form>
                </div>
            </div>
        </div>
        <div class="row" style="margin-top: 10px;">
            <div class="col-sm-9">
                <input id="btn-search" type="button" class="btn  btn-sm btn-purple" value="查询"/>
                <input id="btn-add" type="button" class="btn  btn-sm btn-primary" value="添加"/>
                <input id="btn-del" type="button" class="btn   btn-sm btn-danger" value="删除"/>
            </div>
            <div class="col-sm-3">
            </div>
        </div>
        <!--grid begin data-type="datetime" -->
        <div class="table-responsive">
            <table id="grid" class="table table-striped table-hover table-bordered dataTable no-footer">
                <thead>
                <tr>
                    <th data-column-id="id" data-type="numeric" data-identifier="true" data-visible="false">序号</th>
                    <th data-column-id="name" data-width="60">用户名称</th>
                    <th data-column-id="platformName" data-width="60">所属平台</th>
                    <th data-column-id="nickname" data-width="60">用户昵称</th>
                    <th data-column-id="tel" data-width="60">联系电话</th>
                    <th data-column-id="dataRangeStr" data-width="120" data-formatter="areaFormat">数据范围</th>
                    <th data-column-id="status" data-width="60" data-formatter="statusFormat">用户状态</th>
                    <th data-column-id="commands" data-formatter="commands" data-width="150">操作</th>
                </tr>
                </thead>
            </table>
        </div>
        <!--gird end-->
    </div>
</div>
</@defaultLayout.layout>



